﻿using DigitalHealth.PACS.Cores.Proxy;
using DigitalHealth.PACS.Cores.Proxy.Attributes;
using DigitalHealth.PACS.UnifyPortalAggregateService.Models.AppointmentService;
using System.Collections.Generic;

namespace DigitalHealth.PACS.UnifyPortalAggregateService.Services.AppointmentService
{
    /// <summary>
    /// 预约客户端
    /// </summary>
    [MicroClient("http", "Appointment")]
    public interface IAppointClient
    {
        //[GetPath("/api/AppointInfo/AppointList")]
        //public List<AppointmentInfo> GetAppointList();
        [GetPath("/api/AppointInfo/ClassOrder/{classOrderId}")]
        public List<AppointmentInfo> GetAppointmentsByClassOrder(string classOrderId);
    }
}
